package com.xujie.sportsmeeting.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 项目参与度VO
 */
@Data
@Schema(description = "项目参与度信息")
public class EventParticipationVO {

    @Schema(description = "项目ID")
    private Long eventId;

    @Schema(description = "项目名称")
    private String eventName;

    @Schema(description = "项目编码")
    private String eventCode;

    @Schema(description = "参与人数")
    private Integer participantCount;

    @Schema(description = "最大参与人数")
    private Integer maxParticipants;

    @Schema(description = "参与率")
    private BigDecimal participationRate;

    @Schema(description = "获得得分")
    private BigDecimal earnedPoints;

    @Schema(description = "排名")
    private Integer ranking;

    @Schema(description = "是否获奖")
    private Boolean hasAward;

    @Schema(description = "奖牌类型")
    private String medalType;
}
